﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_Logs_Edit.aspx.cs" Inherits="admin_Logs_Edit" %>
<%@ Import Namespace="Net.Ntalent.Action50.DataAccess"%>
<%@ Import Namespace="Net.Ntalent.Action50.Core.Util"%>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Admin_Log_Edit</title>
<link type="text/css" rel="stylesheet" href="css/common.css" />
<link type="text/css" rel="stylesheet" href="css/admin.css" />
<!-- 弹出框所用头文件 S-->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>


<!--[if IE 6]>
<style type="text/css">
* html,* html body /* 修正IE6振动bug */{background-image:url(about:blank);background-attachment:fixed;}
* html .fixed-top /* IE6 头部固定 */{position:absolute;margin-top:100px;bottom:auto;top:expression(eval(document.documentElement.scrollTop));}
</style>
<![endif]-->



<!--[if IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" type="text/javascript"></script>
<script type="text/javascript">
DD_belatedPNG.fix('div, ul, img, li, input');
</script>
<![endif]-->
<!-- 弹出框所用头文件 E-->


</head>

<body>
    <form id="form1" runat="server">
<div class="wrappera">
	<div class="wrapperb">
		<!-- 界面头部 S -->
		<div id="head" class="head">
			<!-- 界面头部 网站LOGO S -->
			<div id="site_logo">
			</div>
			<!-- 界面头部 网站LOGO E -->
			<div id="site_signal">Action Management</div>
			<!-- 界面头部 网站导航栏 S -->
			<div class="site_nav">
				<ul>
					<li class="nowPaged right"><a href="Default.aspx">HOME</a></li>
				</ul>
			</div>
			<!-- 界面头部 网站导航栏 E -->
		</div>
		<!-- 界面头部 E -->

		<!-- 界面主体部分 S -->
		<div class="mainBody">
			<div class="admin_box">
				<!-- 界面主体 管理界面导航栏 S -->
				<div class="admin_nav">
					<ul>
						<li><a href="admin_Basic_Information.aspx?actionId=<%=Helper.getActionIdFromNewsAndLogsId(Convert.ToInt64(Request.QueryString["logsId"])) %>">Basic Information</a></li>
						<li  class="nowPage" id="news"><a href="admin_Logs_View.aspx?actionId=<%=Helper.getActionIdFromNewsAndLogsId(Convert.ToInt64(Request.QueryString["logsId"])) %>">Log</a></li>
						<li><a href="admin_News_View.aspx?actionId=<%=Helper.getActionIdFromNewsAndLogsId(Convert.ToInt64(Request.QueryString["logsId"])) %>">News</a></li>
						<li><a href="admin_Gallary.aspx?actionId=<%=Helper.getActionIdFromNewsAndLogsId(Convert.ToInt64(Request.QueryString["logsId"])) %>">Gallery</a></li>
					</ul>
				</div>
				<!-- 界面主体 管理界面导航栏 E -->
				<!-- 界面主体 管理界面 用户信息 S -->
				<div class="userInfo">
					<span>Welcome</span><span id="userName"><%=Session[Constants.SESSION_KEY_ADMIN_NAME]%></span>
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton>
				</div>
				<!-- 界面主体 管理界面 用户信息 S -->
				<!-- 界面主体 管理界面 信息列表 S -->
				<div class="newsList">
					<h2><a href="admin_Action_List.aspx">Admin &gt; </a> 
        <a href="admin_Basic_Information.aspx?actionId=<%=Helper.getActionIdFromNewsAndLogsId(Convert.ToInt64(Request["logsId"])) %>"> <%=Helper.getSubString(Helper.getActionNameById(Helper.getActionIdFromNewsAndLogsId(Convert.ToInt64(Request["logsId"]))), 25) %> > </a> 
 <a href="admin_Logs_View.aspx?actionId=<%= Helper.getActionIdFromNewsAndLogsId(Convert.ToInt64(Request["logsId"])) %>">Log &gt;</a>  Edit Log</h2>
					<div class="newsListContent">
						<div class="area NewsTitle">
							<span class="identifier">Log Title:</span>
<asp:TextBox ID="TextBox_Title" CssClass="inputA" runat="server"></asp:TextBox>

   <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ControlToValidate="TextBox_Title" ErrorMessage="Maximum length is 500" 
                                ForeColor="#CC3300" ValidationExpression=".{1,500}"></asp:RegularExpressionValidator>
					
						</div>
						<div class="fckedit">
						 
                            <FCKeditorV2:FCKeditor ID="FCKeditor1" Height="460px" runat="server">
                            </FCKeditorV2:FCKeditor>
						</div>
						
						<div class="area Submit">

                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="TextBox_Title" Display="None" 
                                ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>

<asp:LinkButton ID="LinkButton_submit" class="linkE" runat="server" onclick="LinkButton_submit_Click">Submit</asp:LinkButton>
						</div> 

						
					</div>
				</div>
				<!-- 界面主体 管理界面 信息列表 E -->
			</div>
			
		</div>
		<!-- 界面主体部分 E -->
		
		<!-- 界面尾部 S -->
		<div id="footer" class="footer">
		</div>
		<!-- 界面尾部 E -->


	</div>
</div>

<!--pop窗口实现 S-->
<div id="alpha" >
     <div class="popup fixed-top">
	        <h1>
		        <a class="closePopsup"></a>
	        </h1>
	        <div class="area_message">
	        <p>
		        <asp:Label ID="Message" runat="server" Text="Message"></asp:Label>
        		
	        </p>
	        </div>
	        <p class="forBtn">
<asp:LinkButton class="button1 linkE" ID="LinkButton2" runat="server" 
                    onclick="LinkButton2_Click">OK</asp:LinkButton>

	        </p>
        </div>
</div>
    <asp:Literal ID="popupCmd" runat="server" Text=""></asp:Literal>
 <!--pop窗口实现 E--> 

    </form>

</body>

</html>
